<template>
  <div id="app">
    <div class="link-class">
      <router-link :to="{path:'/about'}">X-Switch</router-link>
    </div>
    <div class="link-class">
      <router-link to="/">Home</router-link>
      <router-link to="/about">About</router-link>
      <router-link to="/store">Store</router-link>
    </div>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: "App",
  mounted(){
    // console.log(this);
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}

.link-class {
  margin-bottom: 20px;
}

a {
  margin: 0 20px;
}
</style>
